/*
* Copyright (c) 2025 Huawei Device Co., Ltd.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including but not limited to the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to provide persons with access to the Software
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGE OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/

.detail-container {
  height: 100%;
  width: 100%;
  background: rgb(241, 243, 245);

  .container {
    height: 100%;
    display: flex;
    flex-direction: column;

    .title-wrap {
      height: 56px;
      display: flex;
      box-sizing: border-box;
      justify-content: space-between;
      padding: 8px 16px;

      .icon-wrap {
        display: flex;
        align-items: center;

        .title-img {
          margin-right: 8px;
        }

        .title {
          color: rgba(0, 0, 0, 0.9);
          font-size: 20px;
          font-weight: 700;
          line-height: 27px;
          letter-spacing: 0px;
          text-align: left;
        }
      }
    }

    .content {
      flex: 1;
      display: flex;
      flex-direction: column;
      padding: 0 16px;
      overflow: auto;

      .message-item {
        margin-bottom: 24px;

        .time {
          text-align: center;
          color: rgb(24, 36, 49);
          font-size: 10px;
          font-weight: 400;
          line-height: 14px;
          letter-spacing: 0px;
          text-align: center;
        }

        .left-item {
          display: flex;

          .avatar {
            width: 40px;
            height: 40px;
            margin-right: 8px;
          }

          .left-item-content {
            width: 210px;
            border-radius: 2px 24px 24px 24px;
            background: rgb(255, 255, 255);
            padding: 12px;

            img {
              height: 16px;
            }

            .tip {
              color: rgb(24, 36, 49);
              font-size: 14px;
              font-weight: 400;
              line-height: 19px;
              letter-spacing: 0px;
              text-align: left;
              margin-bottom: 8px;
            }

            .naicha-bg {
              width: 186px;
              height: 138px;
            }

            .applet {
              color: rgb(138, 144, 151);
              font-size: 10px;
              font-weight: 400;
              line-height: 13px;
              letter-spacing: 0px;
              text-align: left;
            }
          }
        }

        .right-item {
          display: flex;
          justify-content: flex-end;
          align-items: center;

          .avatar {
            margin-left: 8px;
          }

          .right-item-content {
            color: rgb(255, 255, 255);
            font-size: 14px;
            font-weight: 400;
            line-height: 19px;
            letter-spacing: 0px;
            text-align: left;
            border-radius: 20px 2px 20px 20px;
            background: rgb(10, 89, 247);
            padding: 12px;
          }
        }
      }
    }

    .bottom-wrap {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 56px;
      padding: 0 16px;

      .bottom-btn {
        width: 19px;
        height: 19px;
      }

      .input {
        outline: none;
        border: none;
        height: 34px;
        background: #fff;
        border-radius: 17px;
        width: 75%;
      }
    }
  }
}